package com.thinkit.bigdata.web.service.tag;

import com.thinkit.bigdata.web.model.es.audioEs.Source;
import com.thinkit.bigdata.web.model.perCenter.PendingTaskModel;
import com.thinkit.bigdata.web.model.result.HtmlResult;
import org.elasticsearch.index.query.BoolQueryBuilder;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TagManagerService {
    int coutBySerialNumber(String serialNumber);

    HtmlResult addTagAudio(Source source);

    List<PendingTaskModel> searchData(HttpServletRequest request);

    BoolQueryBuilder getQuery(String logTxt, HttpServletRequest request);
}
